package com.tbit.uqbike.client.util;

/**
 * 视角等级
 */
public enum GeoHashLevel {
    GHL_M_40("40米级", 16, 20, 20),
    GHL_M_150("150米级", 14, 17, 18),
    GHL_M_1200("1200米级", 12, 15, 15),
    GHL_KM_5("5公里级", 10, 12, 13),
    GHL_KM_40("40公里级", 8, 10, 10),
    GHL_KM_150("150公里级", 6, 7, 8),
    GHL_KM_1200("1200公里级", 4, 5, 5),
    GHL_KM_5000("5000公里级", 2, 2, 3);

    private String name;
    private Integer codeLen;
    private Integer lonbit;
    private Integer latbit;

    GeoHashLevel(String name, Integer codeLen, Integer latbit, Integer lonbit) {
        this.name = name;
        this.codeLen = codeLen;
        this.lonbit = lonbit;
        this.latbit = latbit;
    }

    public String getName() {
        return name;
    }

    public Integer getCodeLen() {
        return codeLen;
    }

    public Integer getLonbit() {
        return lonbit;
    }

    public Integer getLatbit() {
        return latbit;
    }

}
